<template>
	<div :class="className" :style="style" class="page">
		<div class="content" :style="style">
			<slot />
		</div>
	</div>
</template>

<script setup>
const props = defineProps({
	style: {
		type: Object,
		default: () => {
			return {
				padding: "0px"
			}
		}
	},
	className: {
		type: String,
		default: ''
	}
});
</script>

<style scoped>
/**非必要请勿调整改样式 **/
.page {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	overflow: hidden;

	>.content {
		height: 100%;
		width: 100%;
		border-radius: 7px;
		background-color: #fff;
		box-sizing: border-box;
		overflow: auto;
	}
}
</style>
